Skip to content

fix: handle missing active theme config#67

Merged
LIlGG merged 1 commit into
mainfrom
feat/fix-theme-fetcher-null-theme
Jun 2, 2026
Merged

fix: handle missing active theme config#67
LIlGG merged 1 commit into
mainfrom
feat/fix-theme-fetcher-null-theme

Conversation

@LIlGG

@LIlGG LIlGG commented Jun 2, 2026

Copy link
Copy Markdown
Owner

What type of PR is this?

/kind bug

What this PR does / why we need it:

Guard ThemeFetcher against missing or blank system theme configuration before parsing JSON, so theme head injection does not fail when theme.active has not been initialized.

Which issue(s) this PR fixes:

Fixes

Does this PR introduce a user-facing change?

修复系统主题配置缺失时访问首页可能出现 500 错误的问题。

@LIlGG LIlGG merged commit fbfaa79 into main Jun 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant